buffer->string

buf length


Summary

Turn BUF into a string of LENGTH which defaults to the size of BUF